﻿<%@ Page Language="C#" MasterPageFile="~/aspnet/admin/MasterPage.master" AutoEventWireup="true" CodeFile="user_Show.aspx.cs"Inherits="user_Show" Title="用户查看页面" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language="javascript"  src="<%=Abs_Path %>inc/js/Top_inc.asp?add=1&addurl=Use_AddNew.aspX&Xfind=1&Xfindurl=User_Find.aspx"></script>
           

</asp:Content>
<asp:Content ID="cont2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">

    &nbsp;<table width="100%" height="62" border="0" align="center" cellPadding="2" cellSpacing="1"
				class="border">
				<tr align="center">
					<td class="topbg" colSpan="2" height="25"><strong>用戶資訊管理</strong></td>
				<tr>
					<td class="tdbg" style="width: 124px; height: 27px"><strong>管理快捷菜單:</strong></td>
					<td class="tdbg" style="height: 27px">
                        <asp:Label ID="tt" runat="server" CssClass="font-4"></asp:Label></td>
				</tr>
			</table>
			<br />
<asp:DataGrid runat="server" ID="XdataGrid" AutoGenerateColumns="False" AllowSorting="True" Width="100%" HorizontalAlign="Center"  CssClass="border">
    <Columns>
    
    
        <asp:TemplateColumn HeaderText="Use">
            <ItemTemplate><asp:Label ID="Label1" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.uid") %>'></asp:Label>
            </ItemTemplate>
            <EditItemTemplate>
            
                &nbsp;
            </EditItemTemplate>
            <HeaderTemplate>
                用戶名列表
            </HeaderTemplate>
            <HeaderStyle CssClass="topbg"  Height="25px"  Width="124px"/>
            <ItemStyle CssClass="tdbg" Height="30px" />
            
        </asp:TemplateColumn>
        
        
        
        <asp:TemplateColumn >
            <ItemTemplate>
                <asp:Label ID="Label2" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.UseName") %>'></asp:Label>
            </ItemTemplate>
            <EditItemTemplate>
             
            </EditItemTemplate>
                    <HeaderStyle CssClass="topbg"  Height="25px"  Width="60%"/>
            <ItemStyle CssClass="tdbg" />
            <HeaderTemplate>
                用户姓名
            </HeaderTemplate>
        
        </asp:TemplateColumn>
        <asp:TemplateColumn HeaderText="操作">
            <HeaderTemplate>
                操 作
            </HeaderTemplate>
            <HeaderStyle CssClass="topbg"  Height="25px"  />
            <ItemStyle CssClass="tdbg" Height="30px" />
            <ItemTemplate>
                <asp:LinkButton ID="EditX" runat="server" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.Use_id") %>'  CssClass="link2" OnClick="Use_Edit" CommandName='<%# DataBinder.Eval(Container, "DataItem.uid")%>'>修改</asp:LinkButton>
                &nbsp; &nbsp;&nbsp; &nbsp;
                <asp:LinkButton ID="ReP" runat="server" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.Use_id") %>' CssClass="link2" OnClick="rePwd" ToolTip="此操作装还原此用户的密码">还原初始密码</asp:LinkButton>
                
                <a  onclick="Del('User_Del.aspx?id=<%# DataBinder.Eval(Container, "DataItem.Use_id") %>','<%# DataBinder.Eval(Container, "DataItem.uid").ToString().Trim() %>')" class="link2 hand">删除用户　<%# DataBinder.Eval(Container, "DataItem.uid")%> </a>
            
            </ItemTemplate>
            
        </asp:TemplateColumn>

    </Columns>

</asp:DataGrid>
    <div runat="server" class="link1"  id="Div" align="center"></div>
</asp:Content>

